
package com.bangcommunity.bbframe.sdm.aop.handler;

import com.bangcommunity.bbframe.sdm.datasource.MultDataSourceKey;
import org.aspectj.lang.ProceedingJoinPoint;

import java.lang.reflect.Method;

/**
 * Created by tanghc on 17/1/18.
 */
public class DataSourceSwichFinalHandler extends FinalHandler  {
    @Override
    protected boolean doFinalHandler(ProceedingJoinPoint pjp, Object[] args, Method method, String className) {
        MultDataSourceKey.clearDataSourceKey();
        return true;
    }
}
